<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./font/iconfont.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/cateSecond.css">
    <script src="./js/setRem.js"></script>
</head>

<body>
    <div class="layout-box">
        <!-- 头部 -->
        <div class="mm-header">
            <div class="mm-logo"></div>
            <div class="mm-app"></div>
        </div>
        <!-- 搜索 -->
        <div class="mm-search">
            <input type="text" name="" id="" placeholder="请输入你想比价的商品">
            <a href="javascript:;" class="button">搜索</a>
        </div>
        <div id="wrapper">
            <div id="scroller">
                <!-- 导航 -->
                <div class="cate-nav">
                    <a href="index.html">首页 ></a>
                    <a href="javascript:;">全部分类 ></a>
                    <a href="javascript:;">电视 ></a>
                    <a href="javascript:;" class="filtrate">筛选</a>
                </div>
                <!-- 商品 -->
                <div class="mm-product">
                    <div class="item">
                        <div class="pro-left fl">
                            <img src="./images/mnav.jpg" alt="">
                        </div>
                        <div class="pro-right fr">
                            <span>移动端凑单品：海天 鲜味 生抽 1.28L<span class="in">10.9元</span></span>
                            <span></span>
                            <p>京东商城 | 10-25 14:10</p>
                        </div>
                    </div>
                    <div class="item">
                        <div class="pro-left fl">
                            <img src="./images/mnav.jpg" alt="">
                        </div>
                        <div class="pro-right fr">
                            <span>移动端凑单品：海天 鲜味 生抽 1.28L<span class="in">10.9元</span></span>
                            <span></span>
                            <p>京东商城 | 10-25 14:10</p>
                        </div>
                    </div>
                    <div class="item">
                        <div class="pro-left fl">
                            <img src="./images/mnav.jpg" alt="">
                        </div>
                        <div class="pro-right fr">
                            <span>移动端凑单品：海天 鲜味 生抽 1.28L<span class="in">10.9元</span></span>
                            <span></span>
                            <p>京东商城 | 10-25 14:10</p>
                        </div>
                    </div>
                </div>
                <!-- 分页 -->
                <div id="pagination">
                    <ul>
                        <li><a href="javascript:;" class="prev">上一页</a></li>
                        <li>
                            <select>
                                <option value="1">1/3</option>
                                <!-- <option value="2">2/3</option>
                                <option value="3">3/3</option> -->
                            </select>
                        </li>
                        <li><a href="javascript:;" class="next">下一页</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <!-- 底部 -->
        <div class="mm-footer">
            <div class="fot-top">
                <a href="javascript:;">登录</a>
                <a href="javascript:;">注册</a>
                <a href="javascript:;"> <span class="iconfont icon-shangjiantou-"></span> 返回顶部</a>
            </div>
            <div class="foot-bt">
                <p><a href="javascript:;">手机APP下载</a> <a href="javascript:;">慢慢买手机版</a>-- 掌上比价平台</p>
                <p>m.manmanbuy.com</p>
            </div>
        </div>
    </div>

    <!-- 渲染导航 -->
    <script type="text/html" id="temp-nav">
        {{each result v i}}
        <a href="index.html">首页 ></a>
        <a href="category.html">全部分类 ></a>
        <a href="javascript:;">{{v.category}}</a>
        <a href="javascript:;" class="filtrate">筛选</a>
        {{/each}}
    </script>

    <!-- 渲染商品列表 -->
    <script type="text/html" id="temp-list">
        {{each result v i}}
        <a href="javascript:;" class="item" data-id={{v.productId}}>
            <div class="pro-left fl">
                {{@v.productImg}}
            </div>
            <div class="pro-right fr">
                <span class="out">{{v.productName}}</span><span class="in">{{v.productPrice}}</span>
                <div class="base">
                    <div class="right fr">
                        <span>{{ v.productComCount }}</span>
                    </div>
                    <div class="left fl">
                        <p>{{ v.productQuote }} | <span>{{ v.productCom }}</span></p>
                    </div>
                </div>
            </div>
        </a>
        {{/each}}
    </script>


    <!-- <script src="./lib/artTemplate/template.js"></script> -->
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./lib/jquery/jquery.min.js"></script>
    <script src="./lib/iscroll/iscroll.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/cateSecond.js"></script>
</body>

</html>